package com.ms.education.course.service;

import com.ms.education.course.entity.Subject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ms.education.course.entity.vo.SubjectVo;

import java.util.List;

/**
 * <p>
 * 课程类别 服务类
 * </p>
 *
 * @author ms
 * @since 2023-01-15
 */
public interface SubjectService extends IService<Subject> {

    List<SubjectVo> getCateGoryTree();

    void saveSubject(SubjectVo subjectVo);

    void deleteSubjectById(Integer id);

    void updateSubject(SubjectVo subjectVo);

    void updateSubjects(List<SubjectVo> subjectVos);
}
